namespace OneWorks.Utils.FluentData
{
    using System.Collections.Generic;

    public class BuilderData
    {
        public List<BuilderColumn> Columns { get; set; }
        public object Item { get; set; }
        public string ObjectName { get; set; }
        public IDbCommand Command { get; set; }
        public List<BuilderColumn> Where { get; set; }

        public BuilderData(IDbCommand command, string objectName)
        {
            this.ObjectName = objectName;
            this.Command = command;
            this.Columns = new List<BuilderColumn>();
            this.Where = new List<BuilderColumn>();
        }
    }
}